package designPattern.creation5.AbstractFactory.demo.factory.SimleFactory;

import designPattern.creation5.AbstractFactory.demo.factory.common.HPMouse;
import designPattern.creation5.AbstractFactory.demo.factory.common.IMouse;
import designPattern.creation5.AbstractFactory.demo.factory.common.LenoveMouse;

public class MouseFactory2 {

    //在增加新的鼠标类型的时候这里需要修改，违背了开放封闭原则

    public IMouse GetHPMouse() {
        return new HPMouse();
    }

    public IMouse GetLenoveMouse() {
        return new LenoveMouse();
    }


}
